package com.dalei.vdserver.dao;

import java.util.List;

import com.dalei.vdserver.model.Task;

public interface TaskDao {
	
	// Get tasks
	public List<Task> getTasks();
	
	// Get task
	public Task getTaskById(int fid);
	
	// Get tasks of device
	public List<Task> getTasksByDeviceId(int deviceId);
	
	// Update task
	public int updateTask(Task task);
	
	// Remove online vehicles
	public int removeTask(int fid);
}
